package com.softa.common.dao;

import com.softa.common.entity.SysRoleres;
import com.softa.common.sysconfig.mybatis.mapper.BootBaseMapper;
import com.softa.common.sysconfig.support.DataTableRequest;

import java.util.List;

/**
 *
 * @author yangl
 * @date 2018/5/23
 */
public interface SysRoleresMapper extends BootBaseMapper<SysRoleres> {
    /**
     * 更具条件查询
     *
     * @param dataGrid
     * @return
     * @see
     */
    List<SysRoleres> selectByCondition(DataTableRequest dataGrid);

    int deleteRoleResByRoleId(Long id);
}
